package com.hxd.otc.module.convenience.contract;

import com.hxd.otc.common.enums.ConvenienceBusinessTypeEnum;
import com.hxd.otc.module.convenience.bean.NorGoodsBean;
import com.hxd.otc.module.convenience.bean.RefuelingServiceBean;
import com.hxd.otc.mvp.base.IBasePresenter;
import com.hxd.otc.mvp.base.IBaseView;

import java.util.ArrayList;

/**
 * Created by lzy on 2018/12/14 0014.
 * description ${视频服务充值}
 */
public interface VideoServiceRechargeContract {
    interface IView extends IBaseView {
        void getVideoTypeDataSuccess(ArrayList<RefuelingServiceBean> refuelingServiceBeans);

        void getVideoGoodsDataSuccess(String moduleId, ArrayList<NorGoodsBean> norGoodsBeans);

        void getVideoGoodsDataFail(String moduleId, String errMessage);
    }

    interface IPresenter extends IBasePresenter {
        void setRefuelingServiceBean(RefuelingServiceBean refuelingServiceBean);

        void getVideoTypeData();

        void getVideoGoodsData(String moduleId);

        void setBusinessType(ConvenienceBusinessTypeEnum businessType);

        ConvenienceBusinessTypeEnum getBusinessType();
    }
}
